home *** CD-ROM | disk | FTP | other *** search
- Subject: ODToFWFrame Bug?
- Sent: 7/17/96 9:08 AM
- Received: 7/17/96 9:31 AM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >I'm trying to get an FW_CFrame from an ODFacet with ODtoFWFrame().
- >Like so:
- > FW_CFrame *aFrame = FW_CFrame::ODtoFWFrame(ev, currentFacet->GetFrame(ev));
-
- >But, there are times when ODtoFWFrame() does not return a valid FW_CFrame.
- >It appears that someone, other than the framework, has stored data in the
- >ODFrame's part info. So...how can I tell if there's a valid FW_CFrame
- >returned from ODtoFWFrame()?
- >
- >
- >Thanks,
- >Larry
- >larryj@dharbor.com
-
- Note: I think you sent your question to the wrong mailing list.
-
- That should never happen (unless there is a bug somewhere). If
- currentFacet is a valid display facet then the frame's partinfo of this
- facet should always be a FW_CFrame*. I hope you are not trying to get a
- FW_CFrame from an embedded facet?
-
- There is a method you can use FW_CPart::IsValidDisplayFrame to test if an
- ODFrame is a display frame of this part.
-
- ........................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- ........................................................................
-
-
-